package com.atguigu.auth.service;

import com.atguigu.model.system.SysRole;
import com.atguigu.vo.system.AssignRoleVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * ClassName SysRoleService
 * Package: com.atguigu.auth.service
 * ProjectName guigu-oa-parent
 * Description:
 *
 * @Author: 比特张
 * @Create: 2023/4/17 - 17:20
 * @Version: v1.0
 */
public interface SysRoleService extends IService<SysRole> {
    /**
     * 主要作用是用于展示数据
     *
     * @param userId
     * @return
     */
    Map<String, Object> findRoleDataByUserId(Long userId);

    void doAssign(AssignRoleVo assignRoleVo);
}
